


if [ ! -d openssl-1.0.1j ]; then 
	git clone https://git.oschina.net/wr4ng1er/openssl-1.0.1j.git
else
	echo "openssl-1.0.1j file exit"
fi 

cd openssl-1.0.1j
./config --prefix=/opt/openssl	&& make && make install
echo 'export PATH=$PATH:/opt/openssl/bin'>>/etc/profile && source /etc/profile

echo '/opt/openssl/lib' >> /etc/ld.so.conf.d/openssl.conf
echo '/opt/openssl/include' >> /etc/ld.so.conf.d/openssl.conf
sudo /sbin/ldconfig


